<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>打印订单小票</title>

    <!--引入 element-ui 的样式，-->
    <link rel="stylesheet" href="/admin/plugin/element-ui/index.css">
    <!-- 必须先引入vue，  后使用element-ui -->
    <script type="text/javascript" src="/admin/js-css/js/vue.min.js"></script>
    <!-- 引入element 的组件库-->
    <script type="text/javascript" src="/admin/plugin/element-ui/index.js"></script>

    <script type="text/javascript" src="/admin/plugin/element-ui/httpVueLoader.js"></script>

    <!--引入layui组件-->
    <link rel="stylesheet" href="/admin/plugin/layui/dist/css/layui.css" tppabs="http://res.layui.com/layui/dist/css/layui.css"  media="all">
    <script src="/admin/plugin/layui/dist/layui.js" charset="utf-8"></script>

    <script type="text/javascript" src="/admin/js-css/js/jquery-1.7.2.min.js"></script>
    <script type="text/javascript" src="/admin/js-css/js/mx1.0.js?v=1.1"></script>
    <style>
        .head_td{
            font-weight: normal;
        }
        table tr td{
            border: 1px solid #0C0C0C;
            height: 1cm;
            padding: 0 2px;
        }

        thead tr th{
            border: 1px solid #0C0C0C
        }
        .not_border tr td{
            border: 0;
        }


    </style>

</head>
<body>
<div id="app"  >
    <div style="padding: 0.7cm 0.2cm;">
        <div style="width: 5.5cm;">
            <div  style="text-align: center;font-weight: bold;padding-bottom: 0.5cm;">联农臻食汇订单核销</div>
        </div>
        <table border="0"  cellpadding="8" style="border-collapse: collapse; width: 5.5cm; ">
            <thead>
                <tr>
                    <td style="width: 80%;">商品名称</td>
                    <td>数量</td>
                    <td>单价</td>
                </tr>
            </thead>

            <tbody>
                <tr>
                    <td>潮汕牛肉丸子500g</td>
                    <td>1</td>
                    <td>20元</td>
                </tr>

                <tr>
                    <td>西王玉米胚芽油鲜胚600ml食用油非转基因物理压榨正品</td>
                    <td>1</td>
                    <td>20元</td>
                </tr>

                <tr>
                    <td>潮汕牛肉丸子500g</td>
                    <td>1</td>
                    <td>20元</td>
                </tr>

            </tbody>
        </table>


        <div style="width: 5.5cm;margin-top: 0.3cm">
            <div  style="text-align: right;">下单时间：2023-10-10 01:01:10</div>
            <div  style="text-align: right;">订单编号：9308424234</div>

        </div>
    </div>
</div>
</body>
<script>

    var vm = new Vue({
        el:"#app",
        data:{
        },
        created(){
            this.parmsData = getParams();
            this.init();
        },
        methods:{
            init(){
            },
        }
    });


    //验证必填项
    function verification() {

        return true;
    }

    function getData() {
        return vm.selectData;
    }

    function setData(data) {

    }

</script>
</html>